<%--suppress ALL --%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/3/31
  Time: 9:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>update</title>
</head>
<style>
  *{
    margin: 0;
    padding:0px;
  }
  .fl{
    float: left;
  }
  .fr{
    float: right;
  }
  ol,ul{
    list-style-type: none;

  }

  a{
    text-decoration: none;
  }
  img{
    border: 0 none;
  }
  h2{

    font-weight: normal;

  }
  h1{

    font-weight: normal;
  }
  body{

    overflow-x: hidden;
    background-color: #dcddc0;
    color: #000;
    font-family: "微软雅黑";}


  .cen{
    background-color: white;
    height: 60%;
    width: 38%;
    position: relative;
    margin: 10% auto;
    padding-top: 0.2%;
  }
  .cen li{
    height: 10%;
    /*border: 1px solid magenta;*/
    margin-top: 6%;
    font-size: 1rem;
    font-family: verdana,arial,sans-serif;
    margin-left:15%;

  }
  .cen a{
    /*width: 22%;*/
    /*display: block;*/
    /*border: 1px solid maroon;*/
  }
  ol input {
    height: 100%;
    width: 50%;
    /*float: right;*/

  }
  .bon{
    height: 10%;
    width: 48%;
    position: relative;
    margin-top: 5%;
    margin-left:28% ;
  }
  .cen .err{
    color: red;
    font-size: 0.2rem;
  }
</style>
<body>
<div class="cen">
  <sf:form method="post"  modelAttribute="spinguser" >
  <ol>
    <li><a>UserName:</a><sf:input path="username"  /> <sf:errors path="username" cssClass="err"> </sf:errors><br/></li>
    <li><a>PassWord:</a> <sf:input path="password"/>  <sf:errors path="password" cssClass="err"></sf:errors><br/></li>
    <li><a>NickName:</a><sf:input path="nickname"/> <br/></li>
    <li><a>Email:</a><sf:input path="email" cssStyle="margin-left: 8.5%"/><sf:errors path="email" cssClass="err"></sf:errors> </li>

  </ol>

  <input type="submit" value="修改用户" class="bon"/>




  </sf:form>

</body>
</html>
